import { ApiProperty } from '@nestjs/swagger';
import { CustomeFile } from 'src/file-upload/entities/file-upload.entity';

export class ReturnHomeMediaDto {
  @ApiProperty({ description: '首页媒体ID' })
  id: number;

  @ApiProperty({ description: '文件ID' })
  fileId: number;

  @ApiProperty({ description: '排序' })
  order: number;

  @ApiProperty({ description: '备注', required: false })
  remark?: string | null;

  @ApiProperty({ description: '是否展示' })
  isDisplayed: boolean;

  @ApiProperty({ description: '创建时间' })
  createdAt: Date;

  @ApiProperty({ description: '修改时间' })
  updatedAt: Date;

  @ApiProperty({ description: '是否删除' })
  isDeleted: boolean;

  file: CustomeFile;
} 